package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * (ResourceInfo)表实体类
 *
 * @author makejava
 * @since 2024-03-14 18:40:26
 */

@Data
@ApiModel("资源调查")
@TableName("resource_info")
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
public class ResourceInfo extends Model<ResourceInfo> {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String uid;
    //家庭环境
    @ApiModelProperty("家庭环境")
    private String homeEvn;
    //家庭成员情况
    @ApiModelProperty("家庭成员情况")
    private String familyMemberSituation;
    //居住环境
    @ApiModelProperty("居住环境")
    private String liveEvn;
    //收入情况
    @ApiModelProperty("收入情况")
    private String income;
    //教育情况
    @TableField(exist = false)
    @ApiModelProperty("教育情况")
    private String education;

    @TableField(exist = false)
    @ApiModelProperty("姓名")
    private String name;

    @TableField(exist = false)
    @ApiModelProperty("身份证")
    private String idCard;

    @TableField(exist = false)
    @ApiModelProperty("联系方式")
    private String phone;

    @TableField(exist = false)
    @ApiModelProperty("联系方式")
    private String sex;

}

